<?php
$this->pageTitle = 'Login'.$brand;
?>

<div id="login-page">
	<div id="login-wrapper">
		<div id="login">
		    <?php
				if ($session->check('Message.flash')) {
					$session->flash();
				}
				if ($session->check('Message.auth')) {
					$session->flash('auth');
				}
			?>

		    <?php
		    echo $form->create('User',array('action' => 'login'));
		    echo $form->input('username', array (
		    'title'=>'Your username',
		    'class'=>'login',
		    'div'=>'login-form',
		    'label'=>'<strong>Username</strong><br />'
		    ));

		    echo $form->input('password', array (
			'type'=>'password',
		    'title'=>'password login',
		    'class'=>'login',
			'div'=>'login-form',
		    'label'=>'<strong>Password</strong><br />'
	  		));
		    echo $form->submit('Login', array (
			'title'=> 'login to admin page',
			'id'=>'login-submit',
			'div'=>'login-submit'));
		    echo $form->end();
		    ?>
		</div>
	</div>
</div>